//
//  WxTItle.m
//  TodayAnecdote
//
//  Created by weixin on 2017/9/23.
//  Copyright © 2017年 OKweixin2. All rights reserved.
//

#import "WxTItle.h"

@implementation WxTItle

-(instancetype)initWithCoder:(NSCoder *)aDecoder
{
    
    WxTItle *model = [[WxTItle alloc]init];
    
    model.name = [aDecoder decodeObjectForKey:@"name"];
    
    model.ncid = [aDecoder decodeObjectForKey:@"ncid"];
    
    
    return model;
    
}

-(void)encodeWithCoder:(NSCoder *)aCoder{
    
    [aCoder encodeObject:_name forKey:@"name"];
    
    [aCoder encodeObject:_ncid forKey:@"ncid"];
    

}

- (id)copyWithZone:(NSZone *)zone {
    WxTItle *copy = [[[self class] allocWithZone:zone] init];
    copy.name = [self.name copyWithZone:zone];
    copy.ncid = [self.ncid copyWithZone:zone];
    return copy;
}
@end
